﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Link_Operation.aspx.cs" Inherits="admin_Link_Operation" EnableEventValidation="false"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title></title>
    <link rel="stylesheet" type="text/css" href="img/admin_css.css"/>
                   <SCRIPT>
function loadThreadFollow(t_id,b_id){
	var targetImg =eval("document.all.followImg" + t_id);
	var targetDiv =eval("document.all.follow" + t_id);
	if ("object"==typeof(targetImg)){
		if (targetDiv.style.display!='block'){
			targetDiv.style.display="block";
			
		}else{
			targetDiv.style.display="none";
		}
	}
}
</SCRIPT>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    <table width="800"  border="0" cellpadding="0" cellspacing="1" bgcolor="#cccccc">
  <tr>
    <td height="30" colspan="2" align="center" bgcolor="#757575"  class="font_1">　友　情　链　接　发　布</td>
  </tr>
  <tr>
    <td width="22%" height="30" align="right" bgcolor="#F2F2F2">图片上传：</td>
    <td width="78%" bgcolor="#FAFAFA">
       <asp:TextBox ID="txtProImg" runat="server" Width="206px"></asp:TextBox><SPAN id=followImg1 style="CURSOR: hand"  onclick=loadThreadFollow(1,5)>上传图片↓</SPAN></td>
  </tr>
    <tr id=follow1 style="DISPLAY: none">
    <td width="22%" align="right" bgcolor="#F2F2F2"></td>
    <td width="78%" bgcolor="#FAFAFA">
       <asp:FileUpload ID="FileUpload1" runat="server" Width="283px"  Height="22" />
        <asp:Button ID="UpImg" runat="server" Text="上传" OnClick="UpImg_Click"/></td>
  </tr>
  <tr>
    <td height="30" align="right" bgcolor="#F2F2F2">链接地址：</td>
    <td bgcolor="#FAFAFA">
        <asp:TextBox ID="txtUrl" runat="server" Width="205px"></asp:TextBox></td>
  </tr>
    <tr>
    <td height="30" align="right" bgcolor="#F2F2F2">是否锁定：</td>
    <td bgcolor="#FAFAFA">
        <asp:CheckBox ID="CheckBox1" runat="server" />是</td>
        
  </tr>
  <tr>
    <td height="35" align="right" bgcolor="#F2F2F2">&nbsp;</td>
    <td bgcolor="#FAFAFA">&nbsp;<asp:Button ID="Button1" runat="server" Text="确认发布" OnClick="Button1_Click" /></td>
  </tr>
</table>

    </div>
    </form>
</body>
</html>
